import time
from datetime import datetime


def addstr(a,b):
    print(a+b)

def sep(t1,t2):
    print(t1,t2)
    if t1 == t2:
        addstr(1,2)
        exit()

str1 = input('ex:2017-11-21 11:41:15')
while True:
    t1 = time.time()
    t2 = time.mktime(time.strptime(str1,"%Y-%m-%d %H:%M:%S"))
    t1 = int(t1)
    t2 = int(t2)
    sep(t1,t2)
    time.sleep(1)